package edu.zju.gis.dbfg.fileserver.config;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "es-info")
@Getter
@Setter
@ToString
public class ESConfig {

    private String version;
    private String clusterName;
    private String hostName;
//    private String hostName2;
//    private String hostName3;
    private int transportPort;
    private int httpPort;

}
